package com.hawk.eye.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hawk.eye.server.domain.dto.req.OuterWebhookReqDTO;
import com.hawk.eye.server.domain.po.OuterWebhook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author salad
 * @date 2023-10-04
 */
public interface OuterWebhookMapper extends BaseMapper<OuterWebhook> {

    List<OuterWebhook> getWebhooks(@Param("serviceId") Long serviceId);

    IPage<OuterWebhook> page(IPage<OuterWebhook> toPage, @Param("params") OuterWebhookReqDTO reqDTO);

}
